package com.kaola.service;

import java.util.List;

import com.kaola.pojo.Category;
import com.kaola.pojo.Product;

public interface ProductService {

	void add(Product product);
	
	List<Product> list(Category category);
	
	Product get(int id);
	
	void modify(Product product);
	
	void delete(int id);
	
	boolean verifyPrice(double price);
	
	int correctionInventory(int inventory);
}
